package com.tom.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yanghongjun19
 * @version 1.0.0
 * @Description
 * @createTime 2020年12月02日
 */
@RestController
@Slf4j
public class TestController {

    @RequestMapping("/test")
    public String test() {

        for (int i = 0; i < 100; i++) {
            log.warn("warn访问hello");
            log.error("error访问hello");
            log.info("info访问hello");
        }

        return "hello springboot";
    }
}
